package com.demo.entity;

public class ExaminationRecordEntity {
    private int id;
    private String teacherNumber;
    private String classNumber;
    private String coursesName;
    private String startTime;
    private String endTime;
    private String questionBank;
    private boolean studentPreview;

    public ExaminationRecordEntity() {
    }

    public ExaminationRecordEntity(int id, String teacherNumber, String classNumber, String coursesName, String startTime, String endTime, String questionBank, boolean studentPreview) {
        this.id = id;
        this.teacherNumber = teacherNumber;
        this.classNumber = classNumber;
        this.coursesName = coursesName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.questionBank = questionBank;
        this.studentPreview = studentPreview;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTeacherNumber() {
        return teacherNumber;
    }

    public void setTeacherNumber(String teacherNumber) {
        this.teacherNumber = teacherNumber;
    }

    public String getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(String classNumber) {
        this.classNumber = classNumber;
    }

    public String getCoursesName() {
        return coursesName;
    }

    public void setCoursesName(String coursesName) {
        this.coursesName = coursesName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getQuestionBank() {
        return questionBank;
    }

    public void setQuestionBank(String questionBank) {
        this.questionBank = questionBank;
    }

    public boolean isStudentPreview() {
        return studentPreview;
    }

    public void setStudentPreview(boolean studentPreview) {
        this.studentPreview = studentPreview;
    }

    @Override
    public String toString() {
        return "ExaminationRecordEntity{" +
                "id=" + id +
                ", teacherNumber='" + teacherNumber + '\'' +
                ", classNumber='" + classNumber + '\'' +
                ", coursesName='" + coursesName + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", questionBank='" + questionBank + '\'' +
                ", studentPreview=" + studentPreview +
                '}';
    }
}
